.sub-item {
  line-height: 35px;
  height: 35px;
  border-bottom: solid 1px var(--note-line1);
  padding: 0px 10px;
  cursor: pointer !important;
}

.sub-item:hover {
  background: var(--note-bg-hover);
  cursor: pointer !important;
}

.menu-head {
  height: 40px;
  line-height: 40px;
  border-bottom: solid 1px var(--note-line1);
}


.flex {
  display: flex;
  color: #666666;
}

.gray1 {
  color: #666666;
}

.f14 {
  font-size: 14px;
}

.f18 {
  font-size: 18px;
}

.f20 {
  font-size: 20px;
  color: inherit;
}

.iconExcel {
  color: #E6A23C !important;
}

.iconWord {
  color: #67c23a !important;
}


.danger {
  color: #f56c6c;
}

.rotate90 {
  transition: All 0.3s ease-in-out;
  -webkit-transition: All 0.3s ease-in-out;
  -moz-transition: All 0.3s ease-in-out;
  -o-transition: All 0.3s ease-in-out;
}

.rotate90:hover {
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
}



.note-box {
  height: 100%;
  display: flex;
  flex-direction: row;
  font-family: "Raleway", sans-serif;
  user-select: none;

  &-list {
    width: 300px;
    height: 100%;
    background-color: var(--note-bg-color);
    font-family: "Raleway", sans-serif;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    position: relative;

    #list-header {
      padding: 10px 10px 0px 10px;
    }

    #list-header h2 {
      font-weight: 300;
      font-size: 22px;
      text-transform: uppercase;
    }

    .list-menu {
      padding: 10px 10px;
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
    }

    .notes-counter {
      color: #333333;
      font-size: 14px;
    }

    .container {
      flex: 1;
      width: 100%;
      padding: 0;
      overflow: auto;
      box-shadow: #767676;
      background: var(--note-bg-color1);
      border: solid 1px var(--note-line1);
      background: var();
    }

    .list-group-item {
      display: block;
      font-weight: normal;
      padding: 10px 10px;
      border-bottom: solid 1px var(--note-line1);
      position: relative;

      .gray-title {
        color: #666666;
      }
    }

    .list-group-item-heading {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      width: 80%;
    }

    .list-group-item-body {
      font-weight: normal;
      overflow: hidden;
      text-overflow: ellipsis;
      -webkit-line-clamp: 1;
      margin-top: 5px;
      word-wrap: break-word;
      font-size: 12px;
      text-indent: 25px;
      display: -webkit-box;
      -webkit-box-orient: vertical;
    }

    .list-group-item-date {
      margin-top: 16px;
      font-size: 12px;
      display: block;
      text-align: right;
      font-family: "Helvetica", sans-serif;
    }
  }

  &-edit {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 0;

    .edit-head {
      height: 60px;
      padding: 10px 20px;
      display: flex;
      flex-direction: row;
      align-items: center;
    }
  }
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ellipsisText {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
}


.tips {
  font-size: 14px;
  color: #666666;
  text-align: center;
  line-height: 60px;
  height: 60px;
}


.flex-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  overflow-y: auto;
  padding: 20px 20px;

  &-item:hover {
    cursor: pointer;
    background: var(--note-bg-hover);
  }

  &-item {
    padding: 5px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .card-icon {
      cursor: inherit;
      font-size: 40px;

    }

    .head-title {
      cursor: inherit;
      font-weight: 500;
      font-size: 12px;
      color: #666666;
      line-height: 30px;
    }
  }
}




.tiptap.ProseMirror {
  min-height: 100%;
  outline: none;
  font-size: 14px;
  line-height: 1.5;
  text-align: justify;
  padding: 20px 15px;
}

.ProseMirror * {
  max-width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
  word-wrap: break-word !important;
}

.ProseMirror p {
  /*clear: both;*/
  min-height: 1em;
}

.ProseMirror>p {
  margin-top: 0;
  /*margin-bottom: 16px;*/
}

.ProseMirror ul,
ol {
  list-style: disc;
}

.list-paddingleft-1 {
  padding-left: 1.2em;
}

.ProseMirror .code-snippet {
  margin: 10px 0;
  display: block;
  overflow-x: auto;
  font-size: 14px;
  padding: 1em 1em 1em 3em;
  color: #333;
  position: relative;
  background-color: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 2px;
  counter-reset: line;
  white-space: normal;
  -webkit-overflow-scrolling: touch;
}

.ProseMirror .code-snippet code {
  display: flex;
  position: relative;
  text-align: left;
  white-space: pre;
  font-size: 14px;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

.ProseMirror img.ProseMirror-separator {
  width: 0 !important;
}

.ProseMirror .video_iframe {
  background-color: #000000;
  width: 100% !important;
  position: static;
}

.ProseMirror a {
  color: #576b95;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/* Placeholder (at the top) */
.ProseMirror p.is-editor-empty:first-child::before {
  content: attr(data-placeholder);
  float: left;
  color: #adb5bd;
  pointer-events: none;
  height: 0;
}

/* Placeholder (on every new line) */
/*.ProseMirror p.is-empty::before {
  content: attr(data-placeholder);
  float: left;
  color: #adb5bd;
  pointer-events: none;
  height: 0;
}*/

/*.ProseMirror .h5_image_link,*/
/*.ProseMirror .weapp_image_link {*/
/*  position: relative;*/
/*  display: inline-block;*/
/*  font-size: 0;*/
/*}*/

/*.ProseMirror .h5_image_link::after {*/
/*  content: " ";*/
/*  display: block;*/
/*  position: absolute;*/
/*  top: 9px;*/
/*  right: 9px;*/
/*  width: 26px;*/
/*  height: 26px;*/
/*  background: url("@/assets/images/icon/icon-image-link.png") no-repeat center;*/
/*  background-size: contain;*/
/*}*/

/*.ProseMirror .weapp_image_link::after {*/
/*  content: " ";*/
/*  display: block;*/
/*  position: absolute;*/
/*  top: 9px;*/
/*  right: 9px;*/
/*  width: 26px;*/
/*  height: 26px;*/
/*  background: url("@/assets/images/icon/icon-weapp-link.png") no-repeat center;*/
/*  background-size: contain;*/
/*}*/

.redColor {
  color: #F56C6C
}

.greenColor {
  color: #67C23A
}


.search-box {
  padding-top: 40px;
  position: relative;

  &-list {
    height: calc(100vh - 150px);
    overflow-y: auto;
    padding-bottom: 50px;

    .search-list-item {
      display: flex;
      flex-direction: row;
      padding: 0px 16px;
      cursor: pointer;
      user-select: none;
      margin-top: 10px;

      .item-check {
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .item-img {
        width: 74px;
        display: flex;
        justify-content: center;
        align-items: center;

        .avatar-box {
          width: 50px;
          height: 50px;
          border-radius: 8px;
          background: var(--el-color-primary);
          color: #ffffff;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 16px;
          font-weight: 500;
        }
      }

      .item-content {
        flex: 1;
        font-size: 14px;
        line-height: 20px;
        border-bottom: solid 1px #f7f8fa;
        padding: 10px 0px;

        &-title {
          color: var(--el-color-primary);
          font-weight: 600;

          .title-desc {
            font-size: 12px;
            color: #333333;
            font-weight: 500;
            margin-left: 5px;
          }
        }

        &-desc {
          color: #666666;
          font-size: 12px;
        }

        &-desc1 {
          color: #999999;
          font-size: 12px;
        }
      }
    }

    .search-list-item:hover{
      background: var(--note-bg-hover);
    }


  }

}


a {
  color: #3168ff;
}